package com.muyu.product.domain.req;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.muyu.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.poi.hpsf.Decimal;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * @ClassName SpecialOffersReq
 * @Description 描述
 * @Author ShiYu.Cui
 * @Date 2024/3/26 20:02
 */
@Data
@ApiModel(description = "特惠促销")
public class SpecialOffersReq {
    private Integer id;
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    @ApiModelProperty(value = "优惠价格")
    private Double offersPrice;
}
